OTClearLock
Clears a lock and marks the end of a critical section.C INTERFACE
void OTClearLock (OTLock* lockPtr)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
lockPtr
- A pointer to a lock that you want to release.
DISCUSSION
This function clears the lock specified by thelockPtr
parameter. You should only attempt to clear the lock ifOTAquireLock
returnedtrue
.Use the
OTAcquireLock
function to acquire a lock to a critical section.